home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / ny_100.zip / NY_JPSRC.ZIP / JACKPOT.H < prev    next >
C/C++ Source or Header  |  1995-08-23  |  3KB  |  88 lines

  1. #include "opendoor.h"     // Must be included in all doors with odoors
  2. #include <stdio.h>        //library include files
  3. #include <string.h>
  4. #include <stdlib.h>
  5. #include <dir.h>
  6. #include <dos.h>
  7. #include <conio.h>
  8. #include <limits.h>
  9.  
  10.  
  11. //ny's enumerated types
  12. typedef enum {HANDS,PEPPER,KNIFE,CHAIN,GUN,RIFLE,LASER_GUN,SHOTGUN,MACHINEGUN,GRANADE_LAUNCHER,BLASTER,A_BOMB} weapon;
  13. typedef enum {POT,HASH,LSD,COKE,PCP,HEROIN} drug_type;
  14. typedef enum {MALE,FEMALE} sex_type;
  15. typedef enum {HEADBANGER,HIPPIE,BIG_FAT_DUDE,CRACK_ADDICT,PUNK} guy_type;
  16. typedef enum {NONE,CRAPS,HERPES,SYPHILIS,AIDS} desease;
  17. typedef enum {ALIVE,UNCONCIOUS,DEAD} guy_status;
  18. typedef enum {NOWHERE,MOTEL,REG_HOTEL,EXP_HOTEL} hotel_type;
  19. typedef enum {CENTRAL_PARK,EVIL_STUFF,BANK,HEALING,FOOD,DRUGS,ARMS,SEX,MAIL,
  20.           REST,P_FIG,C_FIG,S_FIG,ENTRY_1,ENTRY_2,ONLINE,NEWZ,LIST,
  21.           CONSIOUS,ATTACK,WIN,MAINT_RUN,WEAPONS,COPS,NEW,NATION,
  22.           OTHER,NEW_NAME,NEW_WIN,NEW_LOOSE,TEN_BEST,BUSTED,ASS_KICKED,
  23.           ASS_KICKED_P,ASS_KICKED_O,COLORS_HELP,CH_DRUG,END} menu_t;
  24.  
  25. //ny's user record structure
  26. typedef struct {
  27.     //character files
  28.     char        bbsname[36],     //the BBS name of the user
  29.             name[25],        //the name of the character
  30.             say_win[41],     //what the user says when he wins
  31.             say_loose[41];   // "    "    "   "    "   "  looses
  32.     //integer records
  33.     int        rank,             //user rank
  34.             days_not_on,     //days the user has been inactive
  35.             strength,        //attacking strenght of the user
  36.             defense,         //defensive strenght
  37.             condoms,         //condoms user has
  38.             since_got_laid,  //days since the user last got laid
  39.             drug_hits,       //the hist that the user has
  40.             drug_days_since; //if addicted how long the user
  41.                      //has not used the drug
  42.  
  43.     //long type records
  44.     long        hitpoints,       //users hitpoints
  45.             maxhitpoints;    //maximum of the users hitpoints
  46.  
  47.     //unsigned long type record
  48.     unsigned long   points,          //users points
  49.             money,           //money in hand
  50.             bank;            //money in bank
  51.  
  52.     //unsigned char type records used as values
  53.     unsigned char    level,           //user level
  54.             turns,           //fight the user has left today
  55.             hunger,          // % of hunger
  56.             sex_today,       //sex turns left today
  57.             std_percent,     // % of current std
  58.             drug_addiction,  // % of drug addiction
  59.             drug_high,       // % of how "high" the player is
  60.             hotel_paid_fer,  //for how many more days the hotel
  61.                      //is paid for
  62.             days_in_hospital;//how many days has the use been
  63.                      //in hospital
  64.  
  65.     /*enumerated types stored as char!!! (not int)*/
  66.     guy_status    alive;           //user: alive, unconsious, or dead
  67.     sex_type    sex;             //user sex: Male, Female
  68.     guy_type    nation;          //what is he:
  69.                      //punk, headbanger ...
  70.     weapon        arm;             //players weapon
  71.     desease        std;         //current player std
  72.     drug_type    drug;            //current player drug type
  73.     hotel_type    rest_where;      //where the user is staying lately
  74.  
  75.     /*added values BETA 9*/
  76.     char        wtc;         //# of wtc bombings allowed per day
  77.                      //default=1
  78.     char        poison;         //number of poisoning of watr allowed
  79.                      //per day, default=1
  80.  
  81. /*reserved for future use 8 bytes reset to 0*/
  82.     int        res1,
  83.             res2,
  84.             res3,
  85.             res4;
  86.     } user_rec;
  87.  
  88.